<?php

use Illuminate\Support\Facades\Route;
use Illuminate\Routing\Router;

// Category Module 路由
Route::group([
    'prefix' => config('admin.route.prefix', 'admin'),
    'namespace' => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware', ['web', 'admin']),
], function (Router $router) {
    $router->resource('category_module', 'Category\CategoryModuleController');
});
